package com.huicoo.forestmanager.network.bean.patrol;

import java.util.List;

/**
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2019/4/7		    Administrator
 */
public class PatrollingTasksinif {
    private int id=0;
    private Countyinif county;
    private Towninif town;
    private Villageinif village;
    private String startTime="";
    private ForestAreainif forestArea;

    public class Countyinif {
        /**
         * id : 360702
         * name : 章贡区
         */

        private String id;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        private String name;
    }

    public class Towninif {
        /**
         * id : 360702002
         * name : 解放街道
         */

        public String id;
        public String name;
    }

    public class Villageinif {
        /**
         * id : 360702002003
         * name : 水东村
         */

        public String id;
        public String name;
    }

    public class ForestAreainif {
        /**
         * id : 10
         * description :
         * pictureUrl : null
         * area : 10
         * perimeter : 20
         * estimatedTime : 60000
         * center : {"longitude":114.96323347091673,"latitude":25.8813593432386}
         * outlineGeoInfo : [{"longitude":114.96323347091673,"latitude":25.8813593432386}]
         * preciousTrees : [{"id":8,"name":"榕树","description":"","geoLocation":{"longitude":114.95458602905272,"latitude":25.770059260080018}},{"id":42,"name":"樟树","description":"","geoLocation":{"longitude":114.96864080429079,"latitude":25.871754484276906}},{"id":43,"name":"樟树","description":"","geoLocation":{"longitude":114.96930599212645,"latitude":25.874862875870363}},{"id":186,"name":"樟树","description":"","geoLocation":{"longitude":0,"latitude":0}}]
         */

        public String description;
        public Object pictureUrl;
        public double area;
        public double perimeter;
        public double estimatedTime;
        public Centerinif center;
        public List<OutlineGeoInfoinif> outlineGeoInfo;
        public List<PreciousTreesinif> preciousTrees;
        public List<PatrolEventEntity> EventInfo;
        private int id;
        private int RecordStatus;
        private int RecordID;
        private String serialNumber;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getRecordStatus() {
            return RecordStatus;
        }

        public void setRecordStatus(int RecordStatus) {
            this.RecordStatus = RecordStatus;
        }

        public int getRecordID() {
            return RecordID;
        }

        public void setRecordID(int RecordID) {
            this.RecordID = RecordID;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public Object getPictureUrl() {
            return pictureUrl;
        }

        public void setPictureUrl(Object pictureUrl) {
            this.pictureUrl = pictureUrl;
        }

        public double getArea() {
            return area;
        }

        public void setArea(int area) {
            this.area = area;
        }

        public double getPerimeter() {
            return perimeter;
        }

        public void setPerimeter(int perimeter) {
            this.perimeter = perimeter;
        }

        public double getEstimatedTime() {
            return estimatedTime;
        }

        public void setEstimatedTime(int estimatedTime) {
            this.estimatedTime = estimatedTime;
        }

        public Centerinif getCenter() {
            return center;
        }

        public void setCenter(Centerinif center) {
            this.center = center;
        }

        public List<OutlineGeoInfoinif> getOutlineGeoInfo() {
            return outlineGeoInfo;
        }

        public void setOutlineGeoInfo(List<OutlineGeoInfoinif> outlineGeoInfo) {
            this.outlineGeoInfo = outlineGeoInfo;
        }

        public List<PreciousTreesinif> getPreciousTrees() {
            return preciousTrees;
        }

        public void setPreciousTrees(List<PreciousTreesinif> preciousTrees) {
            this.preciousTrees = preciousTrees;
        }

        public String getSerialNumber() {
            return serialNumber;
        }

        public void setSerialNumber(String serialNumber) {
            this.serialNumber = serialNumber;
        }

        public class Centerinif {
            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            /**
             * longitude : 114.96323347091673
             * latitude : 25.8813593432386
             */

            private double longitude=0;
            private double latitude=0;
        }

        public class OutlineGeoInfoinif {
            /**
             * longitude : 114.96323347091673
             * latitude : 25.8813593432386
             */

            public double longitude;
            public double latitude;
        }

        public class PreciousTreesinif {
            /**
             * id : 8
             * name : 榕树
             * description :
             * geoLocation : {"longitude":114.95458602905272,"latitude":25.770059260080018}
             */

            public int id;
            public String name;
            public String description;
            public GeoLocationinif geoLocation;

            public class GeoLocationinif {
                /**
                 * longitude : 114.95458602905272
                 * latitude : 25.770059260080018
                 */

                public double longitude;
                public double latitude;
            }
        }
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Countyinif getCounty() {
        return county;
    }

    public void setCounty(Countyinif county) {
        this.county = county;
    }

    public Towninif getTown() {
        return town;
    }

    public void setTown(Towninif town) {
        this.town = town;
    }

    public Villageinif getVillage() {
        return village;
    }

    public void setVillage(Villageinif village) {
        this.village = village;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public ForestAreainif getForestArea() {
        return forestArea;
    }

    public void setForestArea(ForestAreainif forestArea) {
        this.forestArea = forestArea;
    }

}
